import React from 'react'

type Props = {}
//时下按抽象类
abstract class Department {
  abstract printMeeting(): void
}

class AccountingDepartment extends Department {
  printMeeting(): void {
    console.log(`抽象类的实现`)
  }
}
console.log(new AccountingDepartment().printMeeting())

const AbstratClass = (props: Props) => {
  return <div>AbstratClass</div>
}

export default AbstratClass
